home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_279_a176 < prev    next >
Unknown  |  1994-07-14  |  9.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 20 00 00 03 9b 00 00 | 00 20 61 31 37 36 00 00 |. ......|. a176..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 06 43 54 45 4e 65 | 77 00 00 06 00 00 00 00 |...CTENe|w.......|
|00000060| 00 f8 00 00 03 9c 00 00 | 00 f8 00 00 00 14 03 c1 |........|........|
|00000070| 00 28 05 7e 00 ff 00 00 | 00 00 00 00 0f a8 00 00 |.(.~....|........|
|00000080| 00 00 4e 1c 00 00 00 09 | 00 00 00 04 00 04 ff fc |..N.....|........|
|00000090| ff fa 00 04 00 04 ff fc | ff fc 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 83 00 0b 40 10 6b | 53 63 72 65 65 6e 41 50 |.....@.k|ScreenAP|
|000000b0| 49 2f 31 39 39 39 36 00 | 06 47 65 6e 65 76 61 00 |I/19996.|.Geneva.|
|000000c0| 00 9e 4f 53 45 72 72 20 | 43 54 45 4e 65 77 28 73 |..OSErr |CTENew(s|
|000000d0| 68 6f 72 74 20 76 69 65 | 77 49 44 2c 20 42 6f 6f |hort vie|wID, Boo|
|000000e0| 6c 65 61 6e 20 76 69 73 | 2c 20 57 69 6e 64 6f 77 |lean vis|, Window|
|000000f0| 50 74 72 20 77 69 6e 64 | 6f 77 2c 20 54 45 48 61 |Ptr wind|ow, TEHa|
|00000100| 6e 64 6c 65 20 2a 74 65 | 48 6e 64 6c 2c 20 52 65 |ndle *te|Hndl, Re|
|00000110| 63 74 20 2a 63 52 65 63 | 74 2c 20 52 65 63 74 20 |ct *cRec|t, Rect |
|00000120| 2a 64 52 65 63 74 2c 20 | 52 65 63 74 20 2a 76 52 |*dRect, |Rect *vR|
|00000130| 65 63 74 2c 20 52 65 63 | 74 20 2a 62 52 65 63 74 |ect, Rec|t *bRect|
|00000140| 2c 20 73 68 6f 72 74 20 | 6d 61 78 54 65 78 74 4c |, short |maxTextL|
|00000150| 65 6e 2c 20 73 68 6f 72 | 74 20 6d 6f 64 65 29 3b |en, shor|t mode);|
|00000160| 00 00 00 06 00 00 00 00 | 00 7c 00 00 03 9d 00 00 |........|.|......|
|00000170| 00 7c 00 00 00 00 03 c1 | 00 14 05 7e 00 ff 00 00 |.|......|...~....|
|00000180| 00 00 00 00 0f a8 00 00 | 00 00 4e 1d 00 00 00 09 |........|..N.....|
|00000190| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|000001a0| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 14 6b |........|.....@.k|
|000001b0| 53 63 72 65 65 6e 4f 6e | 65 4c 69 6e 65 2f 31 39 |ScreenOn|eLine/19|
|000001c0| 39 39 37 00 06 47 65 6e | 65 76 61 00 00 1e 43 72 |997..Gen|eva...Cr|
|000001d0| 65 61 74 65 20 61 20 6e | 65 77 20 54 65 78 74 45 |eate a n|ew TextE|
|000001e0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 2e 00 00 00 06 |dit cont|rol.....|
|000001f0| 00 00 00 00 00 44 00 00 | 03 9e 00 00 00 44 00 00 |.....D..|.....D..|
|00000200| 00 00 02 6b 04 40 02 6c | 01 00 00 00 00 00 00 01 |...k.@.l|........|
|00000210| 0f f1 00 00 00 00 00 00 | 00 00 00 0c 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 06 00 00 00 00 | 01 02 00 00 03 9f 00 00 |........|........|
|00000250| 01 02 00 00 00 00 02 6b | 02 28 03 c1 00 ff 00 00 |.......k|.(......|
|00000260| 00 00 00 00 0f a8 00 00 | 00 00 4e 16 00 00 00 09 |........|..N.....|
|00000270| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|00000280| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 0b 6c |........|.....@.l|
|00000290| 69 6e 6b 73 2f 31 39 39 | 39 30 00 06 4d 6f 6e 61 |inks/199|90..Mona|
|000002a0| 63 6f 00 00 97 61 31 36 | 31 2c 43 54 45 43 6c 69 |co...a16|1,CTECli|
|000002b0| 63 6b 0d 61 31 36 33 2c | 43 54 45 43 6c 69 70 62 |ck.a163,|CTEClipb|
|000002c0| 6f 61 72 64 0d 61 31 36 | 36 2c 43 54 45 44 69 73 |oard.a16|6,CTEDis|
|000002d0| 70 6f 73 65 0d 61 31 36 | 39 2c 43 54 45 45 64 69 |pose.a16|9,CTEEdi|
|000002e0| 74 4d 65 6e 75 0d 61 31 | 36 41 2c 43 54 45 45 76 |tMenu.a1|6A,CTEEv|
|000002f0| 65 6e 74 0d 61 31 37 34 | 2c 43 54 45 4b 65 79 0d |ent.a174|,CTEKey.|
|00000300| 61 31 37 36 2c 43 54 45 | 4e 65 77 0d 61 31 38 38 |a176,CTE|New.a188|
|00000310| 2c 43 54 45 55 6e 64 6f | 0d 61 31 38 42 2c 43 54 |,CTEUndo|.a18B,CT|
|00000320| 45 56 69 65 77 46 72 6f | 6d 54 45 0d 61 32 35 41 |EViewFro|mTE.a25A|
|00000330| 2c 49 73 43 74 6c 45 76 | 65 6e 74 0d 00 16 00 01 |,IsCtlEv|ent.....|
|00000340| 00 00 00 00 00 10 00 0c | 00 01 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 06 00 00 | 00 00 22 91 00 00 03 a0 |........|..".....|
|00000360| 00 00 22 91 00 00 00 00 | 00 00 75 30 02 6b 01 ff |..".....|..u0.k..|
|00000370| 00 00 00 00 00 00 0f a8 | 00 00 00 00 4e 1f 00 00 |........|....N...|
|00000380| 00 09 00 00 00 04 00 04 | ff fc ff fa 00 04 00 04 |........|........|
|00000390| ff fc ff fc 00 00 00 00 | 00 00 00 00 83 00 0b 40 |........|.......@|
|000003a0| 0a 62 6f 64 79 2f 31 39 | 39 39 39 00 06 4d 6f 6e |.body/19|999..Mon|
|000003b0| 61 63 6f 00 1f f7 4f 53 | 45 72 72 20 43 54 45 4e |aco...OS|Err CTEN|
|000003c0| 65 77 28 73 68 6f 72 74 | 20 76 69 65 77 49 44 2c |ew(short| viewID,|
|000003d0| 20 42 6f 6f 6c 65 61 6e | 20 76 69 73 2c 20 57 69 | Boolean| vis, Wi|
|000003e0| 6e 64 6f 77 50 74 72 20 | 77 69 6e 64 6f 77 2c 20 |ndowPtr |window, |
|000003f0| 54 45 48 61 6e 64 6c 65 | 20 2a 74 65 48 6e 64 6c |TEHandle| *teHndl|
|00000400| 2c 20 52 65 63 74 20 2a | 63 52 65 63 74 2c 20 52 |, Rect *|cRect, R|
|00000410| 65 63 74 20 2a 64 52 65 | 63 74 2c 20 52 65 63 74 |ect *dRe|ct, Rect|
|00000420| 20 2a 76 52 65 63 74 2c | 20 52 65 63 74 20 2a 62 | *vRect,| Rect *b|
|00000430| 52 65 63 74 2c 20 73 68 | 6f 72 74 20 6d 61 78 54 |Rect, sh|ort maxT|
|00000440| 65 78 74 4c 65 6e 2c 20 | 73 68 6f 72 74 20 6d 6f |extLen, |short mo|
|00000450| 64 65 29 3b 0d 0d 49 4e | 50 55 54 3a 20 20 76 69 |de);..IN|PUT: vi|
|00000460| 65 77 49 44 20 20 20 20 | 20 20 52 65 73 6f 75 72 |ewID | Resour|
|00000470| 63 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 65 |ce numbe|r of the|
|00000480| 20 73 74 75 62 20 43 44 | 45 46 2e 0d 20 20 20 20 | stub CD|EF.. |
|00000490| 20 20 20 20 76 69 73 20 | 20 20 20 20 20 20 20 20 | vis | |
|000004a0| 43 72 65 61 74 65 20 63 | 6f 6e 74 72 6f 6c 20 69 |Create c|ontrol i|
|000004b0| 6e 69 74 69 61 6c 6c 79 | 20 76 69 73 69 62 6c 65 |nitially| visible|
|000004c0| 2e 0d 20 20 20 20 20 20 | 20 20 77 69 6e 64 6f 77 |.. | window|
|000004d0| 20 20 20 20 20 20 43 72 | 65 61 74 65 20 63 6f 6e | Cr|eate con|
|000004e0| 74 72 6f 6c 20 69 6e 74 | 6f 20 74 68 69 73 20 77 |trol int|o this w|
|000004f0| 69 6e 64 6f 77 2e 0d 20 | 20 20 20 20 20 20 20 63 |indow.. | c|
|00000500| 52 65 63 74 20 20 20 20 | 20 20 20 50 6f 69 6e 74 |Rect | Point|
|00000510| 65 72 20 74 6f 20 72 65 | 63 74 20 66 6f 72 20 54 |er to re|ct for T|
|00000520| 65 78 74 45 64 69 74 20 | 63 6f 6e 74 72 6f 6c 20 |extEdit |control |
|00000530| 76 69 65 77 20 72 65 63 | 74 2e 0d 20 20 20 20 20 |view rec|t.. |
|00000540| 20 20 20 64 52 65 63 74 | 20 20 20 20 20 20 20 50 | dRect| P|
|00000550| 6f 69 6e 74 65 72 20 74 | 6f 20 72 65 63 74 20 66 |ointer t|o rect f|
|00000560| 6f 72 20 54 65 78 74 45 | 64 69 74 20 64 65 73 74 |or TextE|dit dest|
|00000570| 52 65 63 74 2e 0d 20 20 | 20 20 20 20 20 20 76 52 |Rect.. | vR|
|00000580| 65 63 74 20 20 20 20 20 | 20 20 50 6f 69 6e 74 65 |ect | Pointe|
|00000590| 72 20 74 6f 20 72 65 63 | 74 20 66 6f 72 20 54 65 |r to rec|t for Te|
|000005a0| 78 74 45 64 69 74 20 76 | 69 65 77 52 65 63 74 2e |xtEdit v|iewRect.|
|000005b0| 0d 20 20 20 20 20 20 20 | 20 62 52 65 63 74 20 20 |. | bRect |
|000005c0| 20 20 20 20 20 50 6f 69 | 6e 74 65 72 20 74 6f 20 | Poi|nter to |
|000005d0| 72 65 63 74 20 66 6f 72 | 20 54 65 78 74 45 64 69 |rect for| TextEdi|
|000005e0| 74 20 63 6f 6e 74 72 6f | 6c 20 62 6f 72 64 65 72 |t contro|l border|
|000005f0| 20 72 65 63 74 2e 0d 20 | 20 20 20 20 20 20 20 6d | rect.. | m|
|00000600| 61 78 54 65 78 74 4c 65 | 6e 20 20 4d 61 78 69 6d |axTextLe|n Maxim|
|00000610| 75 6d 20 6c 65 6e 67 74 | 68 20 61 6c 6c 6f 77 65 |um lengt|h allowe|
|00000620| 64 20 66 6f 72 20 54 65 | 78 74 45 64 69 74 20 72 |d for Te|xtEdit r|
|00000630| 65 63 6f 72 64 2e 0d 20 | 20 20 20 20 20 20 20 6d |ecord.. | m|
|00000640| 6f 64 65 20 20 20 20 20 | 20 20 20 43 68 6f 6f 73 |ode | Choos|
|00000650| 65 20 76 61 72 69 6f 75 | 73 20 54 65 78 74 45 64 |e variou|s TextEd|
|00000660| 69 74 20 63 6f 6e 74 72 | 6f 6c 20 6f 70 74 69 6f |it contr|ol optio|
|00000670| 6e 73 2e 0d 4f 55 54 50 | 55 54 3a 20 74 65 48 6e |ns..OUTP|UT: teHn|
|00000680| 64 6c 20 20 20 20 20 20 | 50 6f 69 6e 74 65 72 20 |dl |Pointer |
|00000690| 74 6f 20 54 45 48 61 6e | 64 6c 65 20 74 6f 20 62 |to TEHan|dle to b|
|000006a0| 65 20 63 72 65 61 74 65 | 64 2e 0d 20 20 20 20 20 |e create|d.. |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 50 | | P|
|000006c0| 61 73 73 20 69 6e 20 6e | 69 6c 20 69 66 20 79 6f |ass in n|il if yo|
|000006d0| 75 20 64 6f 6e d5 74 20 | 63 61 72 65 2e 0d 52 45 |u don.t |care..RE|
|000006e0| 54 55 52 4e 3a 20 4f 53 | 45 72 72 20 20 20 20 20 |TURN: OS|Err |
|000006f0| 20 20 52 65 61 73 6f 6e | 20 66 6f 72 20 63 6f 6e | Reason| for con|
|00000700| 74 72 6f 6c 20 63 72 65 | 61 74 69 6f 6e 20 66 61 |trol cre|ation fa|
|00000710| 69 6c 75 72 65 2e 0d 0d | 54 6f 20 63 72 65 61 74 |ilure...|To creat|
|00000720| 65 20 61 20 54 65 78 74 | 45 64 69 74 20 63 6f 6e |e a Text|Edit con|
|00000730| 74 72 6f 6c 2c 20 79 6f | 75 20 6f 6e 6c 79 20 6e |trol, yo|u only n|
|00000740| 65 65 64 20 61 20 73 69 | 6e 67 6c 65 20 63 61 6c |eed a si|ngle cal|
|00000750| 6c 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 3a |l. For |example:|
|00000760| 0d 0d 20 20 20 20 6d 6f | 64 65 20 3d 20 63 74 65 |.. mo|de = cte|
|00000770| 56 53 63 72 6f 6c 6c 4c | 65 73 73 47 72 6f 77 3b |VScrollL|essGrow;|
|00000780| 20 20 20 20 20 20 54 45 | 52 65 63 6f 72 64 20 72 | TE|Record r|
|00000790| 65 61 64 2d 77 72 69 74 | 65 2c 20 77 69 74 68 20 |ead-writ|e, with |
|000007a0| 76 65 72 74 69 63 61 6c | 20 73 63 72 6f 6c 6c 0d |vertical| scroll.|
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007d0| 20 20 20 20 74 68 61 74 | 20 6c 65 61 76 65 73 20 | that| leaves |
|000007e0| 73 70 61 63 65 20 66 6f | 72 20 67 72 6f 77 20 62 |space fo|r grow b|
|000007f0| 6f 78 2e 0d 0d 20 20 20 | 20 43 54 45 4e 65 77 28 |ox... | CTENew(|
|00000800| 72 56 69 65 77 43 74 6c | 2c 20 20 20 20 20 20 20 |rViewCtl|, |
|00000810| 20 52 65 73 6f 75 72 63 | 65 20 49 44 20 6f 66 20 | Resourc|e ID of |
|00000820| 76 69 65 77 20 63 6f 6e | 74 72 6f 6c 20 66 6f 72 |view con|trol for|
|00000830| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|00000840| 6c 2e 0d 20 20 20 20 20 | 20 20 20 20 20 20 77 69 |l.. | wi|
|00000850| 6e 64 6f 77 2c 20 20 20 | 20 20 20 20 20 20 20 57 |ndow, | W|
|00000860| 69 6e 64 6f 77 20 74 6f | 20 68 6f 6c 64 20 54 45 |indow to| hold TE|
|00000870| 52 65 63 6f 72 64 2e 0d | 20 20 20 20 20 20 20 20 |Record..| |
|00000880| 20 20 20 74 72 75 65 2c | 20 20 20 20 20 20 20 20 | true,| |
|00000890| 20 20 20 20 49 6e 69 74 | 69 61 6c 6c 79 20 76 69 | Init|ially vi|
|000008a0| 73 69 62 6c 65 2e 0d 20 | 20 20 20 20 20 20 20 20 |sible.. | |
|000008b0| 20 20 26 74 65 48 6e 64 | 6c 2c 20 20 20 20 20 20 | &teHnd|l, |
|000008c0| 20 20 20 52 65 74 75 72 | 6e 20 68 61 6e 64 6c 65 | Retur|n handle|
|000008d0| 20 66 6f 72 20 54 45 52 | 65 63 6f 72 64 2e 0d 20 | for TER|ecord.. |
|000008e0| 20 20 20 20 20 20 20 20 | 20 20 26 63 74 6c 52 65 | | &ctlRe|
|000008f0| 63 74 2c 20 20 20 20 20 | 20 20 20 52 65 63 74 20 |ct, | Rect |
|00000900| 66 6f 72 20 54 65 78 74 | 45 64 69 74 20 76 69 65 |for Text|Edit vie|
|00000910| 77 20 63 6f 6e 74 72 6f | 6c 2e 0d 20 20 20 20 20 |w contro|l.. |
|00000920| 20 20 20 20 20 20 26 64 | 65 73 74 52 65 63 74 2c | &d|estRect,|
|00000930| 20 20 20 20 20 20 20 64 | 65 73 74 52 65 63 74 20 | d|estRect |
|00000940| 66 6f 72 20 54 45 52 65 | 63 6f 72 64 2e 0d 20 20 |for TERe|cord.. |
|00000950| 20 20 20 20 20 20 20 20 | 20 26 76 69 65 77 52 65 | | &viewRe|
|00000960| 63 74 2c 20 20 20 20 20 | 20 20 76 69 65 77 52 65 |ct, | viewRe|
|00000970| 63 74 20 66 6f 72 20 54 | 45 52 65 63 6f 72 64 2e |ct for T|ERecord.|
|00000980| 0d 20 20 20 20 20 20 20 | 20 20 20 20 26 62 72 64 |. | &brd|
|00000990| 72 52 65 63 74 2c 20 20 | 20 20 20 20 20 55 73 65 |rRect, | Use|
|000009a0| 64 20 74 6f 20 66 72 61 | 6d 65 20 61 20 62 6f 72 |d to fra|me a bor|
|000009b0| 64 65 72 2e 0d 20 20 20 | 20 20 20 20 20 20 20 20 |der.. | |
|000009c0| 33 32 30 30 30 2c 20 20 | 20 20 20 20 20 20 20 20 |32000, | |
|000009d0| 20 4d 61 78 20 73 69 7a | 65 20 66 6f 72 20 54 45 | Max siz|e for TE|
|000009e0| 52 65 63 6f 72 64 20 74 | 65 78 74 2e 0d 20 20 20 |Record t|ext.. |
|000009f0| 20 20 20 20 20 20 20 20 | 6d 6f 64 65 29 3b 0d 0d | |mode);..|
|00000a00| 54 68 65 20 76 61 72 69 | 6f 75 73 20 63 68 6f 69 |The vari|ous choi|
|00000a10| 63 65 73 20 66 6f 72 20 | 74 68 65 20 54 65 78 74 |ces for |the Text|
|00000a20| 45 64 69 74 20 63 6f 6e | 74 72 6f 6c 20 61 72 65 |Edit con|trol are|
|00000a30| 20 64 65 66 69 6e 65 64 | 20 61 73 20 66 6f 6c 6c | defined| as foll|
|00000a40| 6f 77 73 3a 0d 0d 23 64 | 65 66 69 6e 65 20 63 74 |ows:..#d|efine ct|
|00000a50| 65 52 65 61 64 4f 6e 6c | 79 20 20 20 20 20 20 20 |eReadOnl|y |
|00000a60| 20 20 30 78 30 30 30 31 | 0d 23 64 65 66 69 6e 65 | 0x0001|.#define|
|00000a70| 20 63 74 65 48 53 63 72 | 6f 6c 6c 20 20 20 20 20 | cteHScr|oll |
|00000a80| 20 20 20 20 20 30 78 30 | 30 30 32 0d 23 64 65 66 | 0x0|002.#def|
|00000a90| 69 6e 65 20 63 74 65 48 | 53 63 72 6f 6c 6c 4c 65 |ine cteH|ScrollLe|
|00000aa0| 73 73 47 72 6f 77 20 20 | 30 78 30 30 30 36 0d 23 |ssGrow |0x0006.#|
|00000ab0| 64 65 66 69 6e 65 20 63 | 74 65 56 53 63 72 6f 6c |define c|teVScrol|
|00000ac0| 6c 20 20 20 20 20 20 20 | 20 20 20 30 78 30 30 30 |l | 0x000|
|00000ad0| 38 0d 23 64 65 66 69 6e | 65 20 63 74 65 56 53 63 |8.#defin|e cteVSc|
|00000ae0| 72 6f 6c 6c 4c 65 73 73 | 47 72 6f 77 20 20 30 78 |rollLess|Grow 0x|
|00000af0| 30 30 31 38 0d 23 64 65 | 66 69 6e 65 20 63 74 65 |0018.#de|fine cte|
|00000b00| 41 63 74 69 76 65 20 20 | 20 20 20 20 20 20 20 20 |Active | |
|00000b10| 20 30 78 30 30 32 30 0d | 23 64 65 66 69 6e 65 20 | 0x0020.|#define |
|00000b20| 63 74 65 4e 6f 42 6f 72 | 64 65 72 20 20 20 20 20 |cteNoBor|der |
|00000b30| 20 20 20 20 30 78 30 30 | 34 30 0d 23 64 65 66 69 | 0x00|40.#defi|
|00000b40| 6e 65 20 63 74 65 53 68 | 6f 77 41 63 74 69 76 65 |ne cteSh|owActive|
|00000b50| 20 20 20 20 20 20 20 30 | 78 30 30 38 30 0d 23 64 | 0|x0080.#d|
|00000b60| 65 66 69 6e 65 20 63 74 | 65 54 61 62 53 65 6c 65 |efine ct|eTabSele|
|00000b70| 63 74 41 6c 6c 20 20 20 | 20 20 30 78 30 31 30 30 |ctAll | 0x0100|
|00000b80| 0d 23 64 65 66 69 6e 65 | 20 63 74 65 54 77 6f 53 |.#define| cteTwoS|
|00000b90| 74 65 70 20 20 20 20 20 | 20 20 20 20 20 30 78 30 |tep | 0x0|
|00000ba0| 32 30 30 0d 23 64 65 66 | 69 6e 65 20 63 74 65 53 |200.#def|ine cteS|
|00000bb0| 63 72 6f 6c 6c 46 75 6c | 6c 4c 69 6e 65 73 20 20 |crollFul|lLines |
|00000bc0| 30 78 30 34 30 30 0d 23 | 64 65 66 69 6e 65 20 63 |0x0400.#|define c|
|00000bd0| 74 65 53 74 79 6c 65 64 | 54 45 20 20 20 20 20 20 |teStyled|TE |
|00000be0| 20 20 20 30 78 30 38 30 | 30 0d 23 64 65 66 69 6e | 0x080|0.#defin|
|00000bf0| 65 20 63 74 65 43 65 6e | 74 65 72 4a 75 73 74 69 |e cteCen|terJusti|
|00000c00| 66 79 20 20 20 20 30 78 | 31 30 30 30 0d 23 64 65 |fy 0x|1000.#de|
|00000c10| 66 69 6e 65 20 63 74 65 | 52 69 67 68 74 4a 75 73 |fine cte|RightJus|
|00000c20| 74 69 66 79 20 20 20 20 | 20 30 78 32 30 30 30 0d |tify | 0x2000.|
|00000c30| 23 64 65 66 69 6e 65 20 | 63 74 65 4e 6f 46 61 73 |#define |cteNoFas|
|00000c40| 74 4b 65 79 73 20 20 20 | 20 20 20 20 30 78 34 30 |tKeys | 0x40|
|00000c50| 30 30 0d 0d 63 74 65 52 | 65 61 64 4f 6e 6c 79 3a |00..cteR|eadOnly:|
|00000c60| 20 20 20 20 20 20 20 20 | 44 6f 6e d5 74 20 61 6c | |Don.t al|
|00000c70| 6c 6f 77 20 65 64 69 74 | 69 6e 67 2e 20 20 57 68 |low edit|ing. Wh|
|00000c80| 65 6e 20 73 65 6c 65 63 | 74 65 64 2c 20 64 6f 6e |en selec|ted, don|
|00000c90| d5 74 20 62 6c 69 6e 6b | 20 61 20 63 61 72 65 74 |.t blink| a caret|
|00000ca0| 2e 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000cb0| 20 20 20 20 20 20 41 6c | 6c 6f 77 20 74 65 78 74 | Al|low text|
|00000cc0| 20 73 65 6c 65 63 74 69 | 6f 6e 20 61 6e 64 20 63 | selecti|on and c|
|00000cd0| 6f 70 79 2d 74 6f 2d 63 | 6c 69 70 62 6f 61 72 64 |opy-to-c|lipboard|
|00000ce0| 2e 0d 63 74 65 48 53 63 | 72 6f 6c 6c 3a 20 20 20 |..cteHSc|roll: |
|00000cf0| 20 20 20 20 20 20 43 72 | 65 61 74 65 20 61 6e 64 | Cr|eate and|
|00000d00| 20 6d 61 6e 61 67 65 20 | 61 20 68 6f 72 69 7a 6f | manage |a horizo|
|00000d10| 6e 74 61 6c 20 73 63 72 | 6f 6c 6c 62 61 72 20 66 |ntal scr|ollbar f|
|00000d20| 6f 72 20 74 68 65 20 54 | 65 78 74 45 64 69 74 20 |or the T|extEdit |
|00000d30| 63 6f 6e 74 72 6f 6c 2e | 0d 63 74 65 48 53 63 72 |control.|.cteHScr|
|00000d40| 6f 6c 6c 4c 65 73 73 47 | 72 6f 77 3a 20 43 72 65 |ollLessG|row: Cre|
|00000d50| 61 74 65 20 61 6e 64 20 | 6d 61 6e 61 67 65 20 61 |ate and |manage a|
|00000d60| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 20 73 63 72 6f | horizon|tal scro|
|00000d70| 6c 6c 62 61 72 20 66 6f | 72 20 74 68 65 20 54 65 |llbar fo|r the Te|
|00000d80| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2c 0d |xtEdit c|ontrol,.|
|00000d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000da0| 20 20 20 20 62 75 74 20 | 6c 65 61 76 65 20 73 70 | but |leave sp|
|00000db0| 61 63 65 20 66 6f 72 20 | 61 20 67 72 6f 77 49 63 |ace for |a growIc|
|00000dc0| 6f 6e 20 6f 6e 20 74 68 | 65 20 72 69 67 68 74 20 |on on th|e right |
|00000dd0| 65 6e 64 20 6f 66 20 74 | 68 65 20 73 63 72 6f 6c |end of t|he scrol|
|00000de0| 6c 62 61 72 2e 0d 63 74 | 65 56 53 63 72 6f 6c 6c |lbar..ct|eVScroll|
|00000df0| 3a 20 20 20 20 20 20 20 | 20 20 43 72 65 61 74 65 |: | Create|
|00000e00| 20 61 6e 64 20 6d 61 6e | 61 67 65 20 61 20 76 65 | and man|age a ve|
|00000e10| 72 74 69 63 61 6c 20 73 | 63 72 6f 6c 6c 62 61 72 |rtical s|crollbar|
|00000e20| 20 66 6f 72 20 74 68 65 | 20 54 65 78 74 45 64 69 | for the| TextEdi|
|00000e30| 74 20 63 6f 6e 74 72 6f | 6c 2e 0d 63 74 65 56 53 |t contro|l..cteVS|
|00000e40| 63 72 6f 6c 6c 4c 65 73 | 73 47 72 6f 77 3a 20 43 |crollLes|sGrow: C|
|00000e50| 72 65 61 74 65 20 61 6e | 64 20 6d 61 6e 61 67 65 |reate an|d manage|
|00000e60| 20 61 20 76 65 72 74 69 | 63 61 6c 20 73 63 72 6f | a verti|cal scro|
|00000e70| 6c 6c 62 61 72 20 66 6f | 72 20 74 68 65 20 54 65 |llbar fo|r the Te|
|00000e80| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2c 0d |xtEdit c|ontrol,.|
|00000e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ea0| 20 20 20 20 62 75 74 20 | 6c 65 61 76 65 20 73 70 | but |leave sp|
|00000eb0| 61 63 65 20 66 6f 72 20 | 61 20 67 72 6f 77 49 63 |ace for |a growIc|
|00000ec0| 6f 6e 20 6f 6e 20 74 68 | 65 20 62 6f 74 74 6f 6d |on on th|e bottom|
|00000ed0| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 73 63 72 6f | end of |the scro|
|00000ee0| 6c 6c 62 61 72 2e 0d 63 | 74 65 41 63 74 69 76 65 |llbar..c|teActive|
|00000ef0| 3a 20 20 20 20 20 20 20 | 20 20 20 4d 61 6b 65 20 |: | Make |
|00000f00| 74 68 69 73 20 74 68 65 | 20 69 6e 69 74 69 61 6c |this the| initial|
|00000f10| 6c 79 20 61 63 74 69 76 | 65 20 63 6f 6e 74 72 6f |ly activ|e contro|
|00000f20| 6c 20 66 6f 72 20 74 68 | 65 20 77 69 6e 64 6f 77 |l for th|e window|
|00000f30| 2e 0d 63 74 65 4e 6f 42 | 6f 72 64 65 72 3a 20 20 |..cteNoB|order: |
|00000f40| 20 20 20 20 20 20 42 79 | 20 64 65 66 61 75 6c 74 | By| default|
|00000f50| 2c 20 79 6f 75 20 67 65 | 74 20 61 20 62 6f 72 64 |, you ge|t a bord|
|00000f60| 65 72 20 61 72 6f 75 6e | 64 20 74 68 65 20 54 65 |er aroun|d the Te|
|00000f70| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2e 20 |xtEdit c|ontrol. |
|00000f80| 20 54 6f 20 74 75 72 6e | 20 74 68 69 73 0d 20 20 | To turn| this. |
|00000f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000fa0| 20 20 6f 66 66 2c 20 73 | 65 74 20 74 68 69 73 20 | off, s|et this |
|00000fb0| 62 69 74 2e 0d 63 74 65 | 53 68 6f 77 41 63 74 69 |bit..cte|ShowActi|
|00000fc0| 76 65 3a 20 20 20 20 20 | 20 57 68 65 6e 20 74 68 |ve: | When th|
|00000fd0| 65 20 63 6f 6e 74 72 6f | 6c 20 69 73 20 61 63 74 |e contro|l is act|
|00000fe0| 69 76 65 2c 20 73 68 6f | 77 20 74 68 61 74 20 69 |ive, sho|w that i|
|00000ff0| 74 20 69 73 20 62 79 20 | 64 72 61 77 69 6e 67 20 |t is by |drawing |
|00001000| 61 20 73 65 6c 65 63 74 | 69 6f 6e 0d 20 20 20 20 |a select|ion. |
|00001010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001020| 62 6f 72 64 65 72 20 61 | 72 6f 75 6e 64 20 74 68 |border a|round th|
|00001030| 65 20 63 6f 6e 74 72 6f | 6c 2e 20 20 54 68 69 73 |e contro|l. This|
|00001040| 20 69 73 20 74 68 65 20 | 6e 65 77 20 37 2e 30 20 | is the |new 7.0 |
|00001050| 68 75 6d 61 6e 2d 69 6e | 74 65 72 66 61 63 65 0d |human-in|terface.|
|00001060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001070| 20 20 20 20 6d 65 74 68 | 6f 64 20 6f 66 20 73 68 | meth|od of sh|
|00001080| 6f 77 69 6e 67 20 77 68 | 69 63 68 20 63 6f 6e 74 |owing wh|ich cont|
|00001090| 72 6f 6c 20 69 73 20 61 | 63 74 69 76 65 2e 20 20 |rol is a|ctive. |
|000010a0| 28 54 68 69 73 20 63 61 | 6e 20 62 65 20 61 6e 20 |(This ca|n be an |
|000010b0| 69 6d 70 6f 72 74 61 6e | 74 0d 20 20 20 20 20 20 |importan|t. |
|000010c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 6e | | in|
|000010d0| 64 69 63 61 74 6f 72 20 | 62 65 63 61 75 73 65 20 |dicator |because |
|000010e0| 69 66 20 79 6f 75 20 68 | 61 76 65 20 72 65 61 64 |if you h|ave read|
|000010f0| 4f 6e 6c 79 20 54 65 78 | 74 45 64 69 74 20 63 6f |Only Tex|tEdit co|
|00001100| 6e 74 72 6f 6c 73 2c 20 | 74 68 65 79 20 64 6f 6e |ntrols, |they don|
|00001110| d5 74 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.t. | |
|00001120| 20 20 20 20 20 20 20 68 | 61 76 65 20 61 20 62 6c | h|ave a bl|
|00001130| 69 6e 6b 69 6e 67 20 63 | 61 72 65 74 2e 20 20 49 |inking c|aret. I|
|00001140| 66 20 74 68 65 79 20 61 | 6c 73 6f 20 64 6f 6e d5 |f they a|lso don.|
|00001150| 74 20 68 61 76 65 20 61 | 6e 79 20 74 65 78 74 20 |t have a|ny text |
|00001160| 73 65 6c 65 63 74 65 64 | 2c 0d 20 20 20 20 20 20 |selected|,. |
|00001170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00001180| 65 72 65 20 77 69 6c 6c | 20 62 65 20 6e 6f 20 69 |ere will| be no i|
|00001190| 6e 64 69 63 61 74 69 6f | 6e 20 74 68 61 74 20 69 |ndicatio|n that i|
|000011a0| 74 20 69 73 20 74 68 65 | 20 61 63 74 69 76 65 20 |t is the| active |
|000011b0| 63 6f 6e 74 72 6f 6c 2e | 0d 63 74 65 54 61 62 53 |control.|.cteTabS|
|000011c0| 65 6c 65 63 74 41 6c 6c | 3a 20 20 20 20 57 68 65 |electAll|: Whe|
|000011d0| 6e 20 75 73 69 6e 67 20 | 49 73 43 74 6c 45 76 65 |n using |IsCtlEve|
|000011e0| 6e 74 20 28 64 69 73 63 | 75 73 73 65 64 20 75 6e |nt (disc|ussed un|
|000011f0| 64 65 72 20 22 21 20 75 | 73 69 6e 67 20 43 74 6c |der "! u|sing Ctl|
|00001200| 48 61 6e 64 6c 65 72 2e | 63 22 29 2c 0d 20 20 20 |Handler.|c"),. |
|00001210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001220| 20 74 61 62 20 63 68 61 | 6e 67 65 73 20 74 68 65 | tab cha|nges the|
|00001230| 20 61 63 74 69 76 65 20 | 54 65 78 74 45 64 69 74 | active |TextEdit|
|00001240| 20 28 6f 72 20 4c 69 73 | 74 29 20 63 6f 6e 74 72 | (or Lis|t) contr|
|00001250| 6f 6c 2e 20 20 57 68 65 | 6e 20 61 20 54 65 78 74 |ol. Whe|n a Text|
|00001260| 45 64 69 74 0d 20 20 20 | 20 20 20 20 20 20 20 20 |Edit. | |
|00001270| 20 20 20 20 20 20 20 20 | 20 63 6f 6e 74 72 6f 6c | | control|
|00001280| 20 69 73 20 6d 61 64 65 | 20 61 63 74 69 76 65 2c | is made| active,|
|00001290| 20 73 6f 6d 65 74 69 6d | 65 73 20 69 74 20 69 73 | sometim|es it is|
|000012a0| 20 64 65 73 69 72 61 62 | 6c 65 20 74 6f 20 69 6e | desirab|le to in|
|000012b0| 69 74 69 61 6c 6c 79 20 | 73 65 6c 65 63 74 0d 20 |itially |select. |
|000012c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012d0| 20 20 20 61 6c 6c 20 6f | 66 20 74 68 65 20 74 65 | all o|f the te|
|000012e0| 78 74 20 66 6f 72 20 74 | 68 65 20 75 73 65 72 2e |xt for t|he user.|
|000012f0| 20 20 53 65 74 74 69 6e | 67 20 74 68 69 73 20 62 | Settin|g this b|
|00001300| 69 74 20 61 63 63 6f 6d | 70 6c 69 73 68 65 73 20 |it accom|plishes |
|00001310| 74 68 69 73 2e 0d 63 74 | 65 54 77 6f 53 74 65 70 |this..ct|eTwoStep|
|00001320| 3a 20 20 20 20 20 20 20 | 20 20 57 68 65 6e 20 75 |: | When u|
|00001330| 73 69 6e 67 20 49 73 43 | 74 6c 45 76 65 6e 74 2c |sing IsC|tlEvent,|
|00001340| 20 79 6f 75 20 6d 61 79 | 20 77 61 6e 74 20 74 68 | you may| want th|
|00001350| 65 20 69 6e 69 74 69 61 | 6c 20 63 6c 69 63 6b 20 |e initia|l click |
|00001360| 6f 6e 20 61 20 54 65 78 | 74 45 64 69 74 0d 20 20 |on a Tex|tEdit. |
|00001370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001380| 20 20 63 6f 6e 74 72 6f | 6c 20 74 6f 20 6a 75 73 | contro|l to jus|
|00001390| 74 20 73 65 6c 65 63 74 | 20 74 68 65 20 63 6f 6e |t select| the con|
|000013a0| 74 72 6f 6c 2c 20 6f 72 | 20 79 6f 75 20 6d 61 79 |trol, or| you may|
|000013b0| 20 77 69 73 68 20 74 68 | 65 20 63 6c 69 63 6b 20 | wish th|e click |
|000013c0| 74 6f 20 73 74 61 72 74 | 0d 20 20 20 20 20 20 20 |to start|. |
|000013d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 72 61 | | tra|
|000013e0| 63 6b 69 6e 67 20 69 6e | 20 61 64 64 69 74 69 6f |cking in| additio|
|000013f0| 6e 20 74 6f 20 73 65 6c | 65 63 74 69 6e 67 20 74 |n to sel|ecting t|
|00001400| 68 65 20 63 6f 6e 74 72 | 6f 6c 2e 20 20 54 68 65 |he contr|ol. The|
|00001410| 20 74 72 61 63 6b 69 6e | 67 20 69 73 0d 20 20 20 | trackin|g is. |
|00001420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001430| 20 63 6f 6e 73 69 64 65 | 72 65 64 20 74 68 65 20 | conside|red the |
|00001440| 73 65 63 6f 6e 64 20 73 | 74 65 70 2c 20 73 6f 20 |second s|tep, so |
|00001450| 62 79 20 73 65 74 74 69 | 6e 67 20 74 68 69 73 20 |by setti|ng this |
|00001460| 62 69 74 2c 20 79 6f 75 | 20 77 69 6c 6c 20 67 65 |bit, you| will ge|
|00001470| 74 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t. | |
|00001480| 20 20 20 20 20 20 74 72 | 61 63 6b 69 6e 67 20 6f | tr|acking o|
|00001490| 66 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 6f 6e |f the co|ntrol on|
|000014a0| 20 74 68 65 20 69 6e 69 | 74 69 61 6c 20 63 6c 69 | the ini|tial cli|
|000014b0| 63 6b 2e 0d 63 74 65 53 | 63 72 6f 6c 6c 46 75 6c |ck..cteS|crollFul|
|000014c0| 6c 4c 69 6e 65 73 3a 20 | 54 68 69 73 20 64 6f 65 |lLines: |This doe|
|000014d0| 73 20 61 73 20 69 74 20 | 73 6f 75 6e 64 73 2c 20 |s as it |sounds, |
|000014e0| 62 75 74 20 6f 6e 6c 79 | 20 69 66 20 74 68 65 20 |but only| if the |
|000014f0| 54 65 78 74 45 64 69 74 | 20 63 6f 6e 74 72 6f 6c |TextEdit| control|
|00001500| 20 69 73 6e d5 74 20 73 | 74 79 6c 65 64 2e 0d 63 | isn.t s|tyled..c|
|00001510| 74 65 53 74 79 6c 65 64 | 54 45 3a 20 20 20 20 20 |teStyled|TE: |
|00001520| 20 20 20 49 66 20 79 6f | 75 20 64 6f 6e d5 74 20 | If yo|u don.t |
|00001530| 6e 65 65 64 20 73 74 79 | 6c 65 73 20 66 6f 72 20 |need sty|les for |
|00001540| 74 68 69 73 20 54 65 78 | 74 45 64 69 74 20 63 6f |this Tex|tEdit co|
|00001550| 6e 74 72 6f 6c 2c 20 6c | 65 61 76 65 20 74 68 69 |ntrol, l|eave thi|
|00001560| 73 20 62 69 74 20 6f 66 | 66 2e 0d 63 74 65 43 65 |s bit of|f..cteCe|
|00001570| 6e 74 65 72 4a 75 73 74 | 69 66 79 3a 20 20 20 41 |nterJust|ify: A|
|00001580| 73 20 69 74 20 73 6f 75 | 6e 64 73 2e 0d 63 74 65 |s it sou|nds..cte|
|00001590| 52 69 67 68 74 4a 75 73 | 74 69 66 79 3a 20 20 20 |RightJus|tify: |
|000015a0| 20 41 73 20 69 74 20 73 | 6f 75 6e 64 73 2e 0d 63 | As it s|ounds..c|
|000015b0| 74 65 4e 6f 46 61 73 74 | 4b 65 79 73 3a 20 20 20 |teNoFast|Keys: |
|000015c0| 20 20 20 54 68 65 20 66 | 61 73 74 2d 6b 65 79 73 | The f|ast-keys|
|000015d0| 20 66 65 61 74 75 72 65 | 20 61 6c 6c 6f 77 73 20 | feature| allows |
|000015e0| 74 68 65 20 54 65 78 74 | 45 64 69 74 20 63 6f 6e |the Text|Edit con|
|000015f0| 74 72 6f 6c 20 74 6f 20 | 63 68 65 63 6b 20 74 68 |trol to |check th|
|00001600| 65 20 4f 53 45 76 65 6e | 74 0d 20 20 20 20 20 20 |e OSEven|t. |
|00001610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 71 75 | | qu|
|00001620| 65 75 65 20 74 6f 20 73 | 65 65 20 69 66 20 74 68 |eue to s|ee if th|
|00001630| 65 72 65 20 69 73 20 61 | 6e 6f 74 68 65 72 20 6b |ere is a|nother k|
|00001640| 65 79 20 65 76 65 6e 74 | 2e 20 20 49 66 20 74 68 |ey event|. If th|
|00001650| 65 72 65 20 69 73 2c 20 | 69 74 20 77 69 6c 6c 0d |ere is, |it will.|
|00001660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001670| 20 20 20 20 68 61 6e 64 | 6c 65 20 69 74 20 62 65 | hand|le it be|
|00001680| 66 6f 72 65 20 72 65 74 | 75 72 6e 69 6e 67 20 63 |fore ret|urning c|
|00001690| 6f 6e 74 72 6f 6c 20 74 | 6f 20 74 68 65 20 61 70 |ontrol t|o the ap|
|000016a0| 70 6c 69 63 61 74 69 6f | 6e 2e 20 20 54 68 69 73 |plicatio|n. This|
|000016b0| 20 6c 6f 63 61 6c 0d 20 | 20 20 20 20 20 20 20 20 | local. | |
|000016c0| 20 20 20 20 20 20 20 20 | 20 20 20 65 76 65 6e 74 | | event|
|000016d0| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 61 6c 6c 6f | process|ing allo|
|000016e0| 77 73 20 61 20 67 72 65 | 61 74 20 73 70 65 65 64 |ws a gre|at speed|
|000016f0| 20 69 6e 63 72 65 61 73 | 65 20 69 6e 20 54 65 78 | increas|e in Tex|
|00001700| 74 45 64 69 74 20 70 65 | 72 66 6f 72 6d 61 6e 63 |tEdit pe|rformanc|
|00001710| 65 2c 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e,. | |
|00001720| 20 20 20 20 20 20 20 65 | 73 70 65 63 69 61 6c 6c | e|speciall|
|00001730| 79 20 6f 6e 20 73 6c 6f | 77 65 72 20 4d 61 63 73 |y on slo|wer Macs|
|00001740| 2e 20 20 53 6f 6d 65 20 | 61 70 70 6c 69 63 61 74 |. Some |applicat|
|00001750| 69 6f 6e 73 20 77 69 6c | 6c 20 77 61 6e 74 20 74 |ions wil|l want t|
|00001760| 6f 20 69 6e 68 69 62 69 | 74 0d 20 20 20 20 20 20 |o inhibi|t. |
|00001770| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00001780| 69 73 20 62 65 68 61 76 | 69 6f 72 2e 20 20 53 65 |is behav|ior. Se|
|00001790| 74 20 74 68 69 73 20 62 | 69 74 20 69 66 20 79 6f |t this b|it if yo|
|000017a0| 75 20 64 6f 2e 0d 0d 53 | 69 6d 70 6c 79 20 69 6e |u do...S|imply in|
|000017b0| 69 74 69 61 6c 69 7a 65 | 20 63 74 6c 52 65 63 74 |itialize| ctlRect|
|000017c0| 2c 20 64 65 73 74 52 65 | 63 74 2c 20 76 69 65 77 |, destRe|ct, view|
|000017d0| 52 65 63 74 2c 20 61 6e | 64 20 62 72 64 72 52 65 |Rect, an|d brdrRe|
|000017e0| 63 74 20 61 70 70 72 6f | 70 72 69 61 74 65 6c 79 |ct appro|priately|
|000017f0| 2c 20 61 6e 64 0d 74 68 | 65 6e 20 63 61 6c 6c 20 |, and.th|en call |
|00001800| 43 54 45 4e 65 77 20 28 | 77 68 69 63 68 20 73 74 |CTENew (|which st|
|00001810| 61 6e 64 73 20 66 6f 72 | 20 43 6f 6e 74 72 6f 6c |ands for| Control|
|00001820| 20 54 45 4e 65 77 29 2e | 20 20 49 66 20 74 65 48 | TENew).| If teH|
|00001830| 6e 64 6c 20 69 73 20 72 | 65 74 75 72 6e 65 64 0d |ndl is r|eturned.|
|00001840| 6e 69 6c 2c 20 74 68 65 | 6e 20 43 54 45 4e 65 77 |nil, the|n CTENew|
|00001850| 20 66 61 69 6c 65 64 2e | 20 20 4f 74 68 65 72 77 | failed.| Otherw|
|00001860| 69 73 65 2c 20 79 6f 75 | 20 6e 6f 77 20 68 61 76 |ise, you| now hav|
|00001870| 65 20 61 20 54 65 78 74 | 45 64 69 74 20 63 6f 6e |e a Text|Edit con|
|00001880| 74 72 6f 6c 20 69 6e 20 | 74 68 65 0d 77 69 6e 64 |trol in |the.wind|
|00001890| 6f 77 2e 20 20 49 66 20 | 69 74 20 66 61 69 6c 73 |ow. If |it fails|
|000018a0| 2c 20 69 74 20 61 6c 73 | 6f 20 72 65 74 75 72 6e |, it als|o return|
|000018b0| 73 20 61 6e 20 65 72 72 | 6f 72 20 73 74 61 74 69 |s an err|or stati|
|000018c0| 6e 67 20 77 68 79 20 69 | 74 20 66 61 69 6c 65 64 |ng why i|t failed|
|000018d0| 0d 28 6d 65 6d 46 75 6c | 6c 45 72 72 20 6f 72 20 |.(memFul|lErr or |
|000018e0| 72 65 73 4e 6f 74 46 6f | 75 6e 64 29 2e 0d 0d 4e |resNotFo|und)...N|
|000018f0| 4f 54 45 3a 20 20 20 54 | 68 65 72 65 20 69 73 20 |OTE: T|here is |
|00001900| 61 20 54 65 78 74 45 64 | 69 74 20 62 75 67 20 28 |a TextEd|it bug (|
|00001910| 6e 6f 20 77 61 79 21 21 | 29 20 73 75 63 68 20 74 |no way!!|) such t|
|00001920| 68 61 74 20 79 6f 75 20 | 6d 61 79 20 6e 65 65 64 |hat you |may need|
|00001930| 20 74 6f 20 73 65 74 20 | 74 68 65 0d 20 20 20 20 | to set |the. |
|00001940| 20 20 20 20 76 69 65 77 | 52 65 63 74 20 72 69 67 | view|Rect rig|
|00001950| 68 74 20 65 64 67 65 20 | 32 20 62 69 67 67 65 72 |ht edge |2 bigger|
|00001960| 20 74 68 61 6e 20 74 68 | 65 20 72 69 67 68 74 20 | than th|e right |
|00001970| 65 64 67 65 20 6f 66 20 | 64 65 73 74 52 65 63 74 |edge of |destRect|
|00001980| 2e 20 20 49 66 20 79 6f | 75 0d 20 20 20 20 20 20 |. If yo|u. |
|00001990| 20 20 64 6f 20 6e 6f 74 | 20 64 6f 20 74 68 69 73 | do not| do this|
|000019a0| 2c 20 74 68 65 6e 20 74 | 68 65 72 65 20 77 69 6c |, then t|here wil|
|000019b0| 6c 20 62 65 20 73 6f 6d | 65 20 63 6c 69 70 70 69 |l be som|e clippi|
|000019c0| 6e 67 20 6f 6e 20 74 68 | 65 20 72 69 67 68 74 20 |ng on th|e right |
|000019d0| 65 64 67 65 20 69 6e 0d | 20 20 20 20 20 20 20 20 |edge in.| |
|000019e0| 73 6f 6d 65 20 63 61 73 | 65 73 2e 20 20 4f 66 20 |some cas|es. Of |
|000019f0| 63 6f 75 72 73 65 2c 20 | 79 6f 75 20 6d 61 79 20 |course, |you may |
|00001a00| 77 61 6e 74 20 74 68 69 | 73 2e 20 20 59 6f 75 20 |want thi|s. You |
|00001a10| 6d 61 79 20 77 61 6e 74 | 20 68 6f 72 69 7a 6f 6e |may want| horizon|
|00001a20| 74 61 6c 0d 20 20 20 20 | 20 20 20 20 73 63 72 6f |tal. | scro|
|00001a30| 6c 6c 69 6e 67 2c 20 61 | 6e 64 20 74 68 65 72 65 |lling, a|nd there|
|00001a40| 66 6f 72 65 20 79 6f 75 | 20 77 6f 75 6c 64 20 77 |fore you| would w|
|00001a50| 61 6e 74 20 74 68 65 20 | 64 65 73 74 52 65 63 74 |ant the |destRect|
|00001a60| 20 73 75 62 73 74 61 6e | 74 69 61 6c 6c 79 0d 20 | substan|tially. |
|00001a70| 20 20 20 20 20 20 20 6c | 61 72 67 65 72 20 74 68 | l|arger th|
|00001a80| 61 6e 20 74 68 65 20 76 | 69 65 77 52 65 63 74 2e |an the v|iewRect.|
|00001a90| 20 20 49 66 20 79 6f 75 | 20 64 6f 6e d5 74 20 77 | If you| don.t w|
|00001aa0| 61 6e 74 20 68 6f 72 69 | 7a 6f 6e 74 61 6c 20 73 |ant hori|zontal s|
|00001ab0| 63 72 6f 6c 6c 69 6e 67 | 2c 0d 20 20 20 20 20 20 |crolling|,. |
|00001ac0| 20 20 74 68 65 6e 20 79 | 6f 75 20 70 72 6f 62 61 | then y|ou proba|
|00001ad0| 62 6c 79 20 64 6f 6e d5 | 74 20 77 61 6e 74 20 61 |bly don.|t want a|
|00001ae0| 6e 79 20 63 6c 69 70 70 | 69 6e 67 20 68 6f 72 69 |ny clipp|ing hori|
|00001af0| 7a 6f 6e 74 61 6c 6c 79 | 2c 20 61 6e 64 20 74 68 |zontally|, and th|
|00001b00| 65 72 65 66 6f 72 65 0d | 20 20 20 20 20 20 20 20 |erefore.| |
|00001b10| 79 6f 75 20 77 69 6c 6c | 20 6e 65 65 64 20 74 6f |you will| need to|
|00001b20| 20 73 65 74 20 64 65 73 | 74 52 65 63 74 2e 72 69 | set des|tRect.ri|
|00001b30| 67 68 74 20 32 20 6c 65 | 73 73 20 74 68 61 6e 20 |ght 2 le|ss than |
|00001b40| 76 69 65 77 52 65 63 74 | 2e 72 69 67 68 74 2e 0d |viewRect|.right..|
|00001b50| 0d 0d 49 66 20 74 68 65 | 20 43 54 45 4e 65 77 20 |..If the| CTENew |
|00001b60| 63 61 6c 6c 20 73 75 63 | 63 65 65 64 73 2c 20 79 |call suc|ceeds, y|
|00001b70| 6f 75 20 74 68 65 6e 20 | 68 61 76 65 20 61 20 54 |ou then |have a T|
|00001b80| 65 78 74 45 64 69 74 20 | 63 6f 6e 74 72 6f 6c 20 |extEdit |control |
|00001b90| 69 6e 20 79 6f 75 72 0d | 77 69 6e 64 6f 77 2e 20 |in your.|window. |
|00001ba0| 20 49 74 20 77 69 6c 6c | 20 62 65 20 61 75 74 6f | It will| be auto|
|00001bb0| 6d 61 74 69 63 61 6c 6c | 79 20 64 69 73 70 6f 73 |maticall|y dispos|
|00001bc0| 65 64 20 6f 66 20 77 68 | 65 6e 20 79 6f 75 20 63 |ed of wh|en you c|
|00001bd0| 6c 6f 73 65 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |lose the| window.|
|00001be0| 0d 49 66 20 79 6f 75 20 | 64 6f 6e d5 74 20 77 61 |.If you |don.t wa|
|00001bf0| 68 74 20 74 68 69 73 20 | 74 6f 20 68 61 70 70 65 |ht this |to happe|
|00001c00| 6e 2c 20 74 68 65 6e 20 | 79 6f 75 20 63 61 6e 20 |n, then |you can |
|00001c10| 64 65 74 61 63 68 20 69 | 74 20 66 72 6f 6d 20 74 |detach i|t from t|
|00001c20| 68 65 0d 76 69 65 77 20 | 63 6f 6e 74 72 6f 6c 20 |he.view |control |
|00001c30| 77 68 69 63 68 20 6f 77 | 6e 73 20 69 74 2e 20 20 |which ow|ns it. |
|00001c40| 54 6f 20 64 6f 20 74 68 | 69 73 2c 20 79 6f 75 20 |To do th|is, you |
|00001c50| 77 6f 75 6c 64 20 74 6f | 20 74 68 65 20 66 6f 6c |would to| the fol|
|00001c60| 6c 6f 77 69 6e 67 3a 0d | 0d 20 20 20 20 76 69 65 |lowing:.|. vie|
|00001c70| 77 43 74 6c 20 3d 20 43 | 54 45 56 69 65 77 46 72 |wCtl = C|TEViewFr|
|00001c80| 6f 6d 54 45 28 74 68 65 | 54 65 78 74 45 64 69 74 |omTE(the|TextEdit|
|00001c90| 48 6e 64 6c 29 3b 0d 20 | 20 20 20 69 66 20 28 76 |Hndl);. | if (v|
|00001ca0| 69 65 77 43 74 6c 29 20 | 53 65 74 43 52 65 66 43 |iewCtl) |SetCRefC|
|00001cb0| 6f 6e 28 76 69 65 77 43 | 74 6c 2c 20 6e 69 6c 29 |on(viewC|tl, nil)|
|00001cc0| 3b 0d 0d 54 68 65 20 76 | 69 65 77 20 63 6f 6e 74 |;..The v|iew cont|
|00001cd0| 72 6f 6c 20 6b 65 65 70 | 73 20 61 20 72 65 66 65 |rol keep|s a refe|
|00001ce0| 72 65 6e 63 65 20 74 6f | 20 74 68 65 20 54 45 52 |rence to| the TER|
|00001cf0| 65 63 6f 72 64 20 69 6e | 20 74 68 65 20 72 65 66 |ecord in| the ref|
|00001d00| 43 6f 6e 2e 0d 49 66 20 | 74 68 65 20 72 65 66 43 |Con..If |the refC|
|00001d10| 6f 6e 20 69 73 20 63 6c | 65 61 72 65 64 2c 20 74 |on is cl|eared, t|
|00001d20| 68 65 6e 20 74 68 65 20 | 76 69 65 77 20 63 6f 6e |hen the |view con|
|00001d30| 74 72 6f 6c 20 64 6f 65 | 73 20 6e 6f 74 68 69 6e |trol doe|s nothin|
|00001d40| 67 2e 20 20 53 6f 2c 20 | 61 6c 6c 20 74 68 61 74 |g. So, |all that|
|00001d50| 0d 69 73 20 6e 65 65 64 | 65 64 20 74 6f 20 64 65 |.is need|ed to de|
|00001d60| 74 61 63 68 20 61 20 54 | 45 52 65 63 6f 72 64 20 |tach a T|ERecord |
|00001d70| 66 72 6f 6d 20 61 20 76 | 69 65 77 20 63 6f 6e 74 |from a v|iew cont|
|00001d80| 72 6f 6c 20 69 73 20 74 | 6f 20 73 65 74 20 74 68 |rol is t|o set th|
|00001d90| 65 0d 76 69 65 77 20 63 | 6f 6e 74 72 6f 6c d5 73 |e.view c|ontrol.s|
|00001da0| 20 72 65 66 43 6f 6e 20 | 6e 69 6c 2e 20 20 4e 6f | refCon |nil. No|
|00001db0| 77 20 69 66 20 79 6f 75 | 20 63 6c 6f 73 65 20 74 |w if you| close t|
|00001dc0| 68 65 20 77 69 6e 64 6f | 77 2c 20 79 6f 75 20 77 |he windo|w, you w|
|00001dd0| 69 6c 6c 20 73 74 69 6c | 6c 0d 68 61 76 65 20 74 |ill stil|l.have t|
|00001de0| 68 65 20 54 45 52 65 63 | 6f 72 64 2e 0d 0d 0d 54 |he TERec|ord....T|
|00001df0| 6f 20 72 65 6d 6f 76 65 | 20 61 20 54 65 78 74 45 |o remove| a TextE|
|00001e00| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 20 63 6f 6d 70 |dit cont|rol comp|
|00001e10| 6c 65 74 65 6c 79 20 66 | 72 6f 6d 20 61 20 77 69 |letely f|rom a wi|
|00001e20| 6e 64 6f 77 2c 20 79 6f | 75 20 6d 61 6b 65 20 6f |ndow, yo|u make o|
|00001e30| 6e 65 20 63 61 6c 6c 3a | 0d 0d 20 20 20 20 43 54 |ne call:|.. CT|
|00001e40| 45 44 69 73 70 6f 73 65 | 28 74 68 65 54 65 78 74 |EDispose|(theText|
|00001e50| 45 64 69 74 48 6e 64 6c | 29 3b 0d 0d 54 68 69 73 |EditHndl|);..This|
|00001e60| 20 64 69 73 70 6f 73 65 | 73 20 6f 66 20 74 68 65 | dispose|s of the|
|00001e70| 20 54 45 52 65 63 6f 72 | 64 2c 20 74 68 65 20 76 | TERecor|d, the v|
|00001e80| 69 65 77 20 63 6f 6e 74 | 72 6f 6c 2c 20 61 6e 64 |iew cont|rol, and|
|00001e90| 20 61 6e 79 20 73 63 72 | 6f 6c 6c 62 61 72 0d 63 | any scr|ollbar.c|
|00001ea0| 6f 6e 74 72 6f 6c 73 20 | 74 68 61 74 20 77 65 72 |ontrols |that wer|
|00001eb0| 65 20 63 72 65 61 74 65 | 64 20 77 68 65 6e 20 74 |e create|d when t|
|00001ec0| 68 65 20 54 65 78 74 45 | 64 69 74 20 63 6f 6e 74 |he TextE|dit cont|
|00001ed0| 72 6f 6c 20 77 61 73 20 | 63 72 65 61 74 65 64 20 |rol was |created |
|00001ee0| 77 69 74 68 0d 74 68 65 | 20 63 61 6c 6c 20 43 54 |with.the| call CT|
|00001ef0| 45 4e 65 77 2e 0d 0d 0d | 45 76 65 6e 74 73 20 66 |ENew....|Events f|
|00001f00| 6f 72 20 54 45 52 65 63 | 6f 72 64 20 61 72 65 20 |or TERec|ord are |
|00001f10| 68 61 6e 64 6c 65 64 20 | 6e 65 61 72 6c 79 20 61 |handled |nearly a|
|00001f20| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 2e 20 20 59 |utomatic|ally. Y|
|00001f30| 6f 75 20 63 61 6e 0d 6d | 61 6b 65 20 6f 6e 65 20 |ou can.m|ake one |
|00001f40| 6f 66 20 33 20 63 61 6c | 6c 73 3a 0d 0d 20 20 20 |of 3 cal|ls:.. |
|00001f50| 20 43 54 45 43 6c 69 63 | 6b 28 77 69 6e 64 6f 77 | CTEClic|k(window|
|00001f60| 2c 20 65 76 65 6e 74 50 | 74 72 2c 20 26 61 63 74 |, eventP|tr, &act|
|00001f70| 69 6f 6e 29 3b 0d 20 20 | 20 20 43 54 45 45 76 65 |ion);. | CTEEve|
|00001f80| 6e 74 28 77 69 6e 64 6f | 77 2c 20 65 76 65 6e 74 |nt(windo|w, event|
|00001f90| 50 74 72 2c 20 26 61 63 | 74 69 6f 6e 29 3b 0d 20 |Ptr, &ac|tion);. |
|00001fa0| 20 20 20 43 54 45 4b 65 | 79 28 77 69 6e 64 6f 77 | CTEKe|y(window|
|00001fb0| 2c 20 65 76 65 6e 74 50 | 74 72 29 3b 0d 0d 49 6e |, eventP|tr);..In|
|00001fc0| 20 65 61 63 68 20 63 61 | 73 65 2c 20 69 66 20 74 | each ca|se, if t|
|00001fd0| 68 65 20 65 76 65 6e 74 | 20 77 61 73 20 68 61 6e |he event| was han|
|00001fe0| 64 6c 65 64 2c 20 6e 6f | 6e 2d 7a 65 72 6f 20 69 |dled, no|n-zero i|
|00001ff0| 73 20 72 65 74 75 72 6e | 65 64 2e 20 20 43 54 45 |s return|ed. CTE|
|00002000| 45 76 65 6e 74 20 73 69 | 6d 70 6c 79 0d 63 61 6c |Event si|mply.cal|
|00002010| 6c 73 20 65 69 74 68 65 | 72 20 43 54 45 43 6c 69 |ls eithe|r CTECli|
|00002020| 63 6b 20 6f 72 20 43 54 | 45 4b 65 79 2c 20 77 68 |ck or CT|EKey, wh|
|00002030| 69 63 68 65 76 65 72 20 | 69 73 20 61 70 70 72 6f |ichever |is appro|
|00002040| 70 72 69 61 74 65 2e 0d | 0d 41 6e 6f 74 68 65 72 |priate..|.Another|
|00002050| 20 63 61 6c 6c 20 79 6f | 75 20 77 69 6c 6c 20 77 | call yo|u will w|
|00002060| 61 6e 74 20 74 6f 20 75 | 73 65 20 69 73 20 43 54 |ant to u|se is CT|
|00002070| 45 45 64 69 74 4d 65 6e | 75 2e 20 20 54 68 69 73 |EEditMen|u. This|
|00002080| 20 69 73 20 75 73 65 64 | 20 74 6f 20 73 65 74 20 | is used| to set |
|00002090| 74 68 65 0d 73 74 61 74 | 65 20 6f 66 20 63 75 74 |the.stat|e of cut|
|000020a0| 2f 63 6f 70 79 2f 70 61 | 73 74 65 2f 63 6c 65 61 |/copy/pa|ste/clea|
|000020b0| 72 20 66 6f 72 20 54 65 | 78 74 45 64 69 74 20 63 |r for Te|xtEdit c|
|000020c0| 6f 6e 74 72 6f 6c 73 2e | 20 20 49 74 20 63 68 65 |ontrols.| It che|
|000020d0| 63 6b 73 20 74 68 65 20 | 61 63 74 69 76 65 0d 63 |cks the |active.c|
|000020e0| 6f 6e 74 72 6f 6c 20 74 | 6f 20 73 65 65 20 69 66 |ontrol t|o see if|
|000020f0| 20 74 65 78 74 20 69 73 | 20 73 65 6c 65 63 74 65 | text is| selecte|
|00002100| 64 2c 20 69 66 20 74 68 | 65 20 63 6f 6e 74 72 6f |d, if th|e contro|
|00002110| 6c 20 69 73 20 72 65 61 | 64 2d 6f 6e 6c 79 2c 20 |l is rea|d-only, |
|00002120| 65 74 63 2e 0d 42 61 73 | 65 64 20 6f 6e 20 74 68 |etc..Bas|ed on th|
|00002130| 69 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2c 20 |is infor|mation, |
|00002140| 69 74 20 73 65 74 73 20 | 63 75 74 2f 63 6f 70 79 |it sets |cut/copy|
|00002150| 2f 70 61 73 74 65 2f 63 | 6c 65 61 72 20 65 69 74 |/paste/c|lear eit|
|00002160| 68 65 72 20 61 63 74 69 | 76 65 0d 6f 72 20 69 6e |her acti|ve.or in|
|00002170| 61 63 74 69 76 65 2e 20 | 20 49 66 20 61 6e 79 20 |active. | If any |
|00002180| 6d 65 6e 75 20 69 74 65 | 6d 73 20 61 72 65 20 73 |menu ite|ms are s|
|00002190| 65 74 20 61 63 74 69 76 | 65 2c 20 69 74 20 72 65 |et activ|e, it re|
|000021a0| 74 75 72 6e 73 20 74 72 | 75 65 2e 0d 0d 0d 4f 6e |turns tr|ue....On|
|000021b0| 65 20 6d 6f 72 65 20 68 | 69 67 68 2d 6c 65 76 65 |e more h|igh-leve|
|000021c0| 6c 20 63 61 6c 6c 20 69 | 73 20 43 54 45 55 6e 64 |l call i|s CTEUnd|
|000021d0| 6f 2e 20 20 49 6e 20 72 | 65 73 70 6f 6e 73 65 20 |o. In r|esponse |
|000021e0| 74 6f 20 61 6e 20 75 6e | 64 6f 20 6d 65 6e 75 20 |to an un|do menu |
|000021f0| 69 74 65 6d 0d 62 65 69 | 6e 67 20 73 65 6c 65 63 |item.bei|ng selec|
|00002200| 74 65 64 20 62 79 20 74 | 68 65 20 75 73 65 72 2c |ted by t|he user,|
|00002210| 20 6a 75 73 74 20 63 61 | 6c 6c 20 43 54 45 55 6e | just ca|ll CTEUn|
|00002220| 64 6f 2c 20 61 6e 64 20 | 74 68 65 20 65 64 69 74 |do, and |the edit|
|00002230| 73 20 74 68 65 20 75 73 | 65 72 0d 68 61 73 20 6d |s the us|er.has m|
|00002240| 61 64 65 20 77 69 6c 6c | 20 62 65 20 75 6e 64 6f |ade will| be undo|
|00002250| 6e 65 2e 20 20 28 54 68 | 69 73 20 69 6e 63 6c 75 |ne. (Th|is inclu|
|00002260| 64 65 73 20 75 6e 64 6f | 69 6e 67 20 61 6e 20 75 |des undo|ing an u|
|00002270| 6e 64 6f 2e 29 0d 0d 0d | 54 68 65 20 6c 61 73 74 |ndo.)...|The last|
|00002280| 20 68 69 67 68 2d 6c 65 | 76 65 6c 20 63 61 6c 6c | high-le|vel call|
|00002290| 20 66 6f 72 20 6d 61 6e | 61 67 69 6e 67 20 74 68 | for man|aging th|
|000022a0| 65 20 65 64 69 74 20 6d | 65 6e 75 20 69 73 20 43 |e edit m|enu is C|
|000022b0| 54 45 43 6c 69 70 62 6f | 61 72 64 2e 20 20 43 61 |TEClipbo|ard. Ca|
|000022c0| 6c 6c 20 69 74 0d 77 68 | 65 6e 20 79 6f 75 20 77 |ll it.wh|en you w|
|000022d0| 61 6e 74 20 74 6f 20 64 | 6f 20 61 20 63 75 74 2f |ant to d|o a cut/|
|000022e0| 63 6f 70 79 2f 70 61 73 | 74 65 2f 63 6c 65 61 72 |copy/pas|te/clear|
|000022f0| 20 66 6f 72 20 74 68 65 | 20 61 63 74 69 76 65 20 | for the| active |
|00002300| 54 65 78 74 45 64 69 74 | 20 63 6f 6e 74 72 6f 6c |TextEdit| control|
|00002310| 2e 0d 54 68 65 20 76 61 | 6c 75 65 20 74 6f 20 70 |..The va|lue to p|
|00002320| 61 73 73 20 69 73 20 61 | 73 20 66 6f 6c 6c 6f 77 |ass is a|s follow|
|00002330| 73 3a 0d 0d 20 20 20 20 | 32 3a 20 63 75 74 0d 20 |s:.. |2: cut. |
|00002340| 20 20 20 33 3a 20 63 6f | 70 79 0d 20 20 20 20 34 | 3: co|py. 4|
|00002350| 3a 20 70 61 73 74 65 0d | 20 20 20 20 35 3a 20 63 |: paste.| 5: c|
|00002360| 6c 65 61 72 0d 0d 54 68 | 65 73 65 20 61 72 65 20 |lear..Th|ese are |
|00002370| 74 68 65 20 73 61 6d 65 | 20 76 61 6c 75 65 73 20 |the same| values |
|00002380| 79 6f 75 20 77 6f 75 6c | 64 20 70 61 73 73 20 74 |you woul|d pass t|
|00002390| 6f 20 61 20 44 41 20 66 | 6f 72 20 74 68 65 73 65 |o a DA f|or these|
|000023a0| 20 61 63 74 69 6f 6e 73 | 2e 20 0d 0d 0d 02 46 00 | actions|. ....F.|
|000023b0| 1d 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 0e | 22 00 0b 00 09 00 04 05 |........|".......|
|000023d0| 00 00 09 00 00 00 00 00 | 00 00 00 0e 2c 00 0b 00 |........|....,...|
|000023e0| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 0f |........|........|
|000023f0| 7f 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |........|........|
|00002400| 00 00 00 0f 89 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00002410| 00 00 00 00 00 00 00 18 | c1 00 0b 00 09 00 04 05 |........|........|
|00002420| 00 00 09 00 00 00 00 00 | 00 00 00 18 ce 00 0b 00 |........|........|
|00002430| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 1a |........|........|
|00002440| 88 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |........|........|
|00002450| 00 00 00 1a 92 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|00002460| 00 00 00 00 00 00 00 1b | 9b 00 0b 00 09 00 04 05 |........|........|
|00002470| 00 00 09 00 00 00 00 00 | 00 00 00 1b a3 00 0b 00 |........|........|
|00002480| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 1b |........|........|
|00002490| c4 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |........|........|
|000024a0| 00 00 00 1b cc 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|000024b0| 00 00 00 00 00 00 00 1b | ed 00 0b 00 09 00 04 05 |........|........|
|000024c0| 00 00 09 00 00 00 00 00 | 00 00 00 1b f3 00 0b 00 |........|........|
|000024d0| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 1c |........|........|
|000024e0| 47 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |G.......|........|
|000024f0| 00 00 00 1c 4f 00 0b 00 | 09 00 04 00 00 00 09 00 |....O...|........|
|00002500| 00 00 00 00 00 00 00 1c | 64 00 0b 00 09 00 04 05 |........|d.......|
|00002510| 00 00 09 00 00 00 00 00 | 00 00 00 1c 6c 00 0b 00 |........|....l...|
|00002520| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 1c |........|........|
|00002530| 70 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |p.......|........|
|00002540| 00 00 00 1c 76 00 0b 00 | 09 00 04 00 00 00 09 00 |....v...|........|
|00002550| 00 00 00 00 00 00 00 1c | b8 00 0b 00 09 00 04 05 |........|........|
|00002560| 00 00 09 00 00 00 00 00 | 00 00 00 1c c3 00 0b 00 |........|........|
|00002570| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 1e |........|........|
|00002580| 14 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |........|........|
|00002590| 00 00 00 1e 1b 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|000025a0| 00 00 00 00 00 00 00 1e | 65 00 0b 00 09 00 04 05 |........|e.......|
|000025b0| 00 00 09 00 00 00 00 00 | 00 00 00 1e 6c 00 0b 00 |........|....l...|
|000025c0| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 00 00 1e |........|........|
|000025d0| f9 00 0b 00 09 00 04 05 | 00 00 09 00 00 00 00 00 |........|........|
|000025e0| 00 00 00 1f 05 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|000025f0| 00 00 00 00 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+